package com.henu.cee_service.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * description: RegisterReqVO
 * date: 2020/3/6 9:33
 * author: JSM
 * version: 1.0
 */

@Data
public class RegisterReqVO {

    @ApiModelProperty(value = "用户名")
    @NotBlank
    private String username;

    @ApiModelProperty(value = "用户密码")
    @NotBlank
    private String password;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "手机号")
    @NotBlank
    private String phone;

    @ApiModelProperty(value = "创建来源(1.web 2.android 3.ios )")
    private String createWhere;

    @ApiModelProperty(value = "邮箱")
    @NotBlank
    private String email;

    @ApiModelProperty(value = "昵称")
    private String nickName;
}
